package com.yxw.live_vod_boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author xiexuxin
 * @date 2023-11-22
 */
@Data
@TableName("yx_user_homepage_info")
@ApiModel("用户视频主页表")
public class YxUserHomepageInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty("用户ID")
    private Long userId;

    @TableField(value = "live_code")
    @ApiModelProperty("用户视频号")
    private String liveCode;

    @TableField(value = "user_background")
    @ApiModelProperty("用户背景图")
    private String userBackground;

    @TableField(value = "user_avatar")
    @ApiModelProperty("用户头像")
    private String userAvatar;

    @TableField(value = "username")
    @ApiModelProperty("用户名称")
    private String username;

}
